package com.augurit.gzcgwsp.qyzz.service.impl;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.augurit.gzcgwsp.qyzz.dao.YwRqQyzzFinalOtherEvidenceDao;
import com.augurit.gzcgwsp.qyzz.entity.YwRqRyzzFinalOtherEvidence;
import com.augurit.gzcgwsp.qyzz.service.IYwRqQyzzFinalOtherEvidenceService;

/**
 * 
 *  企业资质--其它证明材料ervice实现类
 * @author 张军
 *
 */
@Service
@Transactional
public class YwRqQyzzFinalOtherEvidenceServiceImpl  implements IYwRqQyzzFinalOtherEvidenceService {
	private final static Log log=LogFactory.getLog(YwRqQyzzFinalOtherEvidenceServiceImpl.class);
	 @Autowired
	private YwRqQyzzFinalOtherEvidenceDao ywRqQyzzFinalOtherEvidenceDao;


	public void saveEntity(YwRqRyzzFinalOtherEvidence entity) {
	    ywRqQyzzFinalOtherEvidenceDao.save(entity);
		
	}


    public List<YwRqRyzzFinalOtherEvidence> getOtherEvidenceService(long qyid,
            String acceptNo) {
       String sql=" from  "+YwRqRyzzFinalOtherEvidence.class.getName()+" where qyid='"+qyid+"'";
       return ywRqQyzzFinalOtherEvidenceDao.find(sql);
    }


	
	 
}
